package com.yy.homework_;

/**
 * chapter12  com.yy.homework_
 * 2023-05-10 09:37
 *
 * @author yy yuyue
 * description : 不可描述
 * @date 2023/5/10 9:37
 */
public class Homework03 {
    public static void func(){//静态方法
        try {
            throw new RuntimeException();
        }finally {
            System.out.println("B");
        }
    }
    public static void main(String[] args) { //main方法
        try {
            func();
            System.out.println("A");
        }catch (Exception e){
            System.out.println("C");
        }
        System.out.println("D");
    }
}
